<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<div class="admin-sidebar am-offcanvas" id="admin-offcanvas">
	<div class="am-offcanvas-bar admin-offcanvas-bar">
		<ul class="am-list admin-sidebar-list">
			<c:if test="${user.role==2}">
				<li class="admin-parent"><a class="am-cf"
					data-am-collapse="{target: '#collapse-nav'}"><span
						class="am-icon-bars"></span>呼叫中心<span
						class="am-icon-angle-right am-fr am-margin-right"></span></a>
					<ul class="am-list am-collapse admin-sidebar-sub am-in"
						id="collapse-nav">
						<li><a href="add_jobitem_call.do?user_id=${user.id }"
							class="am-cf"><span class="am-icon-phone"></span>今日任务</a></li>
					</ul></li>
			</c:if>
			<c:if test="${user.role==1}">
				<li class="admin-parent"><a class="am-cf"
					data-am-collapse="{target: '#collapse-nav1'}" aria-expanded="false"><span
						class="am-icon-bars"></span>系统管理<span
						class="am-icon-angle-right am-fr am-margin-right"></span></a>
					<ul class="am-list am-collapse admin-sidebar-sub am-in"
						id="collapse-nav1">
						<li><a href="show_add_system_cfg.do" class="am-cf"><span
								class="am-icon-pencil-square"></span> 系统管理</a>
						<li><a href="show_add_menu.do" class="am-cf"><span
								class="am-icon-tasks"></span> 菜单管理</a>
						<li><a href="show_add_role.do" class="am-cf"><span
								class="am-icon-users"></span> 角色管理</a>
						<li><a href="show_add_company.do" class="am-cf"><span
								class="am-icon-institution"></span> 机构管理</a></li>
					</ul></li>
					<li class="admin-parent"><a class="am-cf"
			     	data-am-collapse="{target: '#collapse-nav7'}"><span
					class="am-icon-bars"></span>apk上传<span
					class="am-icon-angle-right am-fr am-margin-right"></span></a>

				<ul class="am-list am-collapse admin-sidebar-sub am-in"
						id="collapse-nav7">
						
						<li><a href="show_add_apkload.do" class="am-cf"><span
								class="am-icon-upload"></span> 上传apk</a></li>
					</ul></li>
				<li class="admin-parent"><a class="am-cf"
					data-am-collapse="{target: '#collapse-nav3'}"><span
						class="am-icon-bars"></span>业务管理<span
						class="am-icon-angle-right am-fr am-margin-right"></span></a>

					<ul class="am-list am-collapse admin-sidebar-sub am-in"
						id="collapse-nav3">
						<li><a href="show_add_store.do" class="am-cf"><span
								class="am-icon-shopping-cart"></span> 店铺管理</a></li>
						<li><a href="show_business.do" class="am-cf"><span
								class="am-icon-table"></span> 工单管理</a></li>
					</ul></li>
					<li class="admin-parent"><a class="am-cf"
					data-am-collapse="{target: '#collapse-nav4'}"><span
						class="am-icon-bars"></span>呼叫中心<span
						class="am-icon-angle-right am-fr am-margin-right"></span></a>
					<ul class="am-list am-collapse admin-sidebar-sub am-in"
						id="collapse-nav4">
						<li><a href="add_jobitem_call.do?user_id=${user.id }"
							class="am-cf"><span class="am-icon-phone"></span>今日任务</a></li>
					</ul></li>
				<li class="admin-parent"><a class="am-cf"
					data-am-collapse="{target: '#collapse-nav'}"><span
						class="am-icon-bars"></span>工作管理<span
						class="am-icon-angle-right am-fr am-margin-right"></span></a>

					<ul class="am-list am-collapse admin-sidebar-sub am-in"
						id="collapse-nav">
						<li><a href="show_job.do" class="am-cf"><span
								class="am-icon-calendar"></span> 工作管理</a></li>
						<li><a href="show_add_jobtype.do" class="am-cf"><span
								class="am-icon-info-circle"></span> 工种管理</a></li>
						<li><a href="show_add_skill.do" class="am-cf"><span
								class="am-icon-thumbs-o-up"></span> 技能管理</a></li>
						<li><a href="show_add_community.do" class="am-cf"><span
								class="am-icon-building"></span> 小区管理</a></li>
					</ul></li>
                   <li class="admin-parent"><a class="am-cf"
					data-am-collapse="{target: '#collapse-nav-manage6'}"><span
						class="am-icon-bars"></span>用户管理 <span
						class="am-icon-angle-right am-fr am-margin-right"></span></a>
					<ul class="am-list am-collapse admin-sidebar-sub am-in"
						id="collapse-nav-manage6">
						<li><a href="show_add_user.do" class="am-cf"><span
								class="am-icon-users"></span>人员管理</a></li>
						<li><a href="get_authenticPer.do" class="am-cf"><span
								class="am-icon-check-square"></span>个人认证审核管理</a></li>
						<li><a href="get_authenticCom.do" class="am-cf"><span
								class="am-icon-check-square-o"></span>企业认证审核管理 </a></li>
					</ul></li>
				<li class="admin-parent"><a class="am-cf"
					data-am-collapse="{target: '#collapse-nav-manage'}"><span
						class="am-icon-bars"></span>信息类管理 <span
						class="am-icon-angle-right am-fr am-margin-right"></span></a>
					<ul class="am-list am-collapse admin-sidebar-sub am-in"
						id="collapse-nav-manage">
						<li><a href="show_add_advertisment.do" class="am-cf"><span
								class="am-icon-file-photo-o"></span> 广告管理</a></li>
						<li><a href="show_add_message.do" class="am-cf"><span
								class="am-icon-comment"></span> 消息管理</a></li>
					</ul></li>
				<li class="admin-parent"><a class="am-cf"
					data-am-collapse="{target: '#collapse-nav2'}"><span
						class="am-icon-bars"></span>抽奖管理<span
						class="am-icon-angle-right am-fr am-margin-right"></span></a>
					<ul class="am-list am-collapse admin-sidebar-sub am-in"
						id="collapse-nav2">
						<li><a href="show_add_lottery.do" class="am-cf"><span
								class="am-icon-trophy"></span>用户获奖情况管理</a></li>
						<li><a href="show_add_prize.do" class="am-cf"><span
								class="am-icon-gift"></span>奖品管理</a></li>
						<li><a href="show_add_prize_chance.do" class="am-cf"><span
								class="am-icon-check"></span>抽奖机会管理</a></li>
					</ul></li>
					</c:if>
			<c:if test="${user.role==4 }">
			<li class="admin-parent"><a class="am-cf"
					data-am-collapse="{target: '#collapse-nav3'}"><span
						class="am-icon-bars"></span>业务管理<span
						class="am-icon-angle-right am-fr am-margin-right"></span></a>

					<ul class="am-list am-collapse admin-sidebar-sub am-in"
						id="collapse-nav3">
						<li><a href="show_add_store.do" class="am-cf"><span
								class="am-icon-shopping-cart"></span> 店铺管理</a></li>
						<li><a href="show_business.do" class="am-cf"><span
								class="am-icon-table"></span> 工单管理</a></li>
					</ul></li>
			</c:if>
			<c:if test="${user.role==3}">
				<li class="admin-parent"><a class="am-cf"
					data-am-collapse="{target: '#collapse-nav-manage'}"><span
						class="am-icon-bars"></span>用户管理 <span
						class="am-icon-angle-right am-fr am-margin-right"></span></a>
					<ul class="am-list am-collapse admin-sidebar-sub am-in"
						id="collapse-nav-manage">
						<li><a href="show_add_user.do" class="am-cf"><span
								class="am-icon-users"></span>人员管理</a></li>
						<li><a href="get_authenticPer.do" class="am-cf"><span
								class="am-icon-check-square"></span>个人认证审核管理</a></li>
						<li><a href="get_authenticCom.do" class="am-cf"><span
								class="am-icon-check-square-o"></span>企业认证审核管理 </a></li>
					</ul></li>
			</c:if>
		</ul>
		<div class="am-panel am-panel-default admin-sidebar-panel">
			<div class="am-panel-bd">
				<p>
					<span class="am-icon-bookmark"></span> 公告
				</p>
				<p>我本楚狂人，凤歌笑孔丘。手持绿玉杖，朝别黄鹤楼。—— IFS</p>
			</div>
		</div>
	</div>
</div>